package cn.jyc.ssm03.pojo;

//CREATE TABLE `sys_menus`  (
//        `id` int(0)
//        `pid` int(0) NULL DEFAULT NULL,
//        `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
//        `href` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
//        `open` int(0) NULL DEFAULT NULL COMMENT '0不打1打开',
//        `parent` int(0) NULL DEFAULT NULL COMMENT '0非父节点1父节点',
//        `target` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
//        `icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
//        `tabicon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
//        `available` int(0) NULL DEFAULT NULL COMMENT '0不可用1可用',
//        PRIMARY KEY (`id`) USING BTREE
//        ) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;


public class MenuList {
    private Integer id;
    private Integer pid;
    private String name;
    private String href;
    private Integer open;
    private Integer parent;
    private String target;
    private String icon;
    private String tabicon;
    private Integer available;

    public MenuList() {
    }

    public MenuList(Integer id, Integer pid, String name, String href, Integer open, Integer parent, String target, String icon, String tabicon, Integer available) {
        this.id = id;
        this.pid = pid;
        this.name = name;
        this.href = href;
        this.open = open;
        this.parent = parent;
        this.target = target;
        this.icon = icon;
        this.tabicon = tabicon;
        this.available = available;
    }

    @Override
    public String toString() {
        return "MenuList{" +
                "id=" + id +
                ", pid=" + pid +
                ", name='" + name + '\'' +
                ", href='" + href + '\'' +
                ", open=" + open +
                ", parent=" + parent +
                ", target='" + target + '\'' +
                ", icon='" + icon + '\'' +
                ", tabicon='" + tabicon + '\'' +
                ", available=" + available +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public Integer getOpen() {
        return open;
    }

    public void setOpen(Integer open) {
        this.open = open;
    }

    public Integer getParent() {
        return parent;
    }

    public void setParent(Integer parent) {
        this.parent = parent;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getTabicon() {
        return tabicon;
    }

    public void setTabicon(String tabicon) {
        this.tabicon = tabicon;
    }

    public Integer getAvailable() {
        return available;
    }

    public void setAvailable(Integer available) {
        this.available = available;
    }
}
